import service from '@/utils/request'
// import qs from 'qs'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service

const request = {
    // 下载文件流
    downBlob (url) {
        return httpGet({
            url,
            responseType: 'arraybuffer'
        })
    },
    nullify (params) {
        return httpPost({
            url: '/tender/common/nullify',
            params
        })
    },
    // 获取功能级字典值(树形字典)
    getDicValueTree (params) {
        return httpGet({
            url: '/config/kv/getDicValueTree',
            params
        })
    },
}

export default request